package com.sdonkey.score.service;

import com.sdonkey.score.bean.LoginReturnBean;
import com.sdonkey.score.exception.BusinessException;

import java.util.Date;

/**
 * 登录接口
 * @author MengXue
 *
 */
public interface ILoginService {
	/**
	 * 根据memberName查用户
	 * @param memberName
	 * @return
	 */
	public LoginReturnBean login(String memberName) throws BusinessException;
	
	/**
	 * 记录用户donkey_num,登录时间
	 * @param donkey_num
	 * @param login_time
	 */
	public void saveLoginLog(String donkey_num, Date login_time);

}
